import 'package:json_annotation/json_annotation.dart';

part 'bank_card_info_model.g.dart';

@JsonSerializable()
class BankCardInfoModel {
  final num? account_id;
  final num? member_id;
  final String? account_type;
  final String? bank_name;
  final String? realname;
  final String? account_no;

  const BankCardInfoModel(
    this.account_id,
    this.member_id,
    this.account_type,
    this.bank_name,
    this.realname,
    this.account_no,
  );

  factory BankCardInfoModel.fromJson(Map<String, dynamic> json) =>
      _$BankCardInfoModelFromJson(json);

  Map<String, dynamic> toJson() => _$BankCardInfoModelToJson(this);
}
